package com.wealth.sms.repository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.wealth.sms.entity.MessageTemplate;

import iaas.repository.BaseRepository;

@Repository
public interface MessageTemplateDao extends BaseRepository<MessageTemplate, Long>, JpaSpecificationExecutor<MessageTemplate>{
	
	MessageTemplate findByCorpIdAndType(Long corpid,Integer type);

}
